Skip to content

fix: Correct Elasticsearch deployment guide pagination claim#1737

Merged
lukekim merged 1 commit into
trunkfrom
fix/es-deployment-pagination
May 18, 2026
Merged

fix: Correct Elasticsearch deployment guide pagination claim#1737
lukekim merged 1 commit into
trunkfrom
fix/es-deployment-pagination

Conversation

@claudespice
Copy link
Copy Markdown
Collaborator

Summary

  • The deployment guide's Capacity & Sizing section incorrectly stated the connector issues a single _search request per query, returning at most 10,000 hits, and advised accelerating for larger result sets
  • The connector actually uses PIT + search_after pagination for queries without LIMIT or with LIMIT > 10,000, fetching all matching documents in 10,000-hit batches
  • The connector index.md already documents this correctly (fixed in PR fix: Correct Elasticsearch pagination docs — connector uses PIT + search_after #1712), but the deployment guide was missed

Changes

  • Updated the "Result size" bullet in website/docs/components/data-connectors/elasticsearch/deployment.md to match the index.md description and actual code behavior

Reference

Verified against spiceai/spiceai at trunk — query_table.rs:231: use_point_in_time: limit.is_none_or(|limit| limit > ELASTICSEARCH_PAGE_SIZE)

The deployment guide stated the connector issues a single `_search`
request per query returning at most 10,000 hits and advised users to
accelerate for larger result sets. In reality, the connector
automatically paginates using PIT + `search_after` for queries without
LIMIT or with LIMIT > 10,000 — matching what the connector index.md
already documents (corrected in PR #1712) and what the code implements
at query_table.rs:231.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

✅ Pull with Spice Passed

Passing checks:

  • ✅ Title meets minimum length requirement (10 characters)
  • ✅ Has at least one of the required labels: area/blog, area/docs, area/cookbook, dependencies
  • ✅ No banned labels detected
  • ✅ Has at least one assignee: lukekim, claudespice

@github-actions
Copy link
Copy Markdown

🚀 deployed to https://730f0e68.spiceai-org-website.pages.dev

@lukekim lukekim self-assigned this May 18, 2026
@lukekim lukekim enabled auto-merge (rebase) May 18, 2026 19:43
@lukekim lukekim merged commit 7849fa1 into trunk May 18, 2026
7 of 10 checks passed
@lukekim lukekim deleted the fix/es-deployment-pagination branch May 18, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants